Troubleshooting

This section contains answers to frequently asked questions and common problems. If you don't find what you're looking for in here, please feel free to post to our PTFB Support Forums or send an email to support@ptfbpro.com

 

How do I stop the recording or playback of a macro?

PTFB Pro won't press anything! (Zone Alarm and other protection software)

I want to import targets from an old PTFB installation. How do I do it?

I want to move PTFB Pro to my new computer, but I don't know how to do it

I told PTFB Pro not to show a confirmation screen again - how do I get it back?

How do I find out how many days are left on the trial?

PTFB Pro pressed the target once, but hasn't done it since?

My macro triggers OK, but doesn't always do the right thing

I've defined a hotkey for an item, but nothing happens when I use it!

I've used "By Prompt" checking - the text IS in the window, but PTFB Pro doesn't see it?

I've password-protected PTFB Pro, but I've forgotten the password

PTFB Pro is too slow / takes too much cpu time

PTFB Pro is seeing the target, but is failing to take appropriate action

Automatic workstation unlocking isn't working

Every time my computer starts up, PTFB Pro's window is open and I have to press Start Watching

When I try to record a macro, PTFB Pro seems to hang

During playback, some macros occasionally get "stuck"

 

How do I stop the recording or playback of a macro?

Both recording and playback can be stopped by tapping the Pause/Break key (usually found next to the Scroll Lock and Print Screen keys) OR by holding down CTRL and tapping Escape (Esc). The latter may also bring up the Start menu - just hit the Esc key again to dismiss it.

If one method doesn't work for any reason, use the other!

PTFB Pro won't press anything! (Zone Alarm and other protection software)

Zone Alarm and certain other protection software may see PTFB Pro's activities as suspicious and block them. In some case the software might not tell you that it is taking this blocking action!

The solution is to configure your protection software to make an exception for PTFB Pro (e.g. add PTFBPro.exe to the software's "trusted" list). In Zone Alarm for example, this is done in the Program Control section.

I want to import targets from an old (version 1.x) PTFB installation. How do I do it?

There's a special command in the Options menu to do just this. Click on this link for details

I want to move PTFB Pro to my new computer, but I don't know how to do it

PTFB Pro stores preferences in the registry, but all the targets you've defined are held in one file called PTFBPro3.dat, and their screenshots are held alongside in .jpg files. The exact path to these files depends on what operating system you're running, and what account you installed PTFB Pro under.

To save problems, the following procedure is recommended:

  1. Quit PTFB Pro on your old computer
  2. Install PTFB Pro on your new computer and run it. This causes PTFB Pro to create the folder that will hold the data file
  3. Quit PTFB Pro on the new computer, so that it won't interfere with the transfer
  4. On both computers, go to the Start menu and and select "Run..". Type the following into the run box, without the quotes: "%appdata%". This should open up a window that displays the contents of your general Application Data folder. Drill down inside the Technology Lighthouse folder, then inside the PTFBPro folder.
  5. Copy the contents from the PTFB Pro folder on the old computer to the corresponding folder on the new computer, overwriting as necessary.
  6. All that now remains is to re-make any important configuration changes on your new computer, e.g. re-enter your SMTP server details, enable/disable icon hiding etc.

    If you're completely confident about registry editing, you could do this by exporting the following registry key (and subkeys and values) to a .reg file, then re-importing it on the new computer. DO NOT ATTEMPT THIS unless you're experienced at manipulating the registry.

    HKCU/Software/TLHouse/PTFBPro

Note#1: If your computer doesn't understand the "%appdata%" directive (older operating systems may not), then the best approach is to pull up Search from the Start menu and search for PTFBPro3.dat. Remember to enable options such as "Search subfolders" and "Search hidden files and folders" if they are present.

Note#2: On some computers Windows may hide files from you. This is meant to be for your protection, but in this case it's... an irritation. If at any point you see an empty folder but there's a link titled "Show entire contents" or similar, click it!

I told PTFB Pro not to show a confirmation screen again - how do I get it back?

Just open up the PTFB Pro Configuration property sheet, and switch to the "Don't Show This Again" page. Click here for more details.

How do I find out how many days are left on the trial?

This information is displayed in PTFB Pro's About screen. There's a command to view the About screen in the Options menu.

PTFB Pro pressed the target once, but hasn't done it since?

This is most likely because the target window changes subtly each time it appears. The changes may involve the window title, certain hidden attributes, or the window's contents. You can fix this by tweaking settings on the Identifying the Target page of the properties for your target. Options to consider changing include: switching to "Require This Text" for the main window section, turning off Type checking for the main window, and choosing "Simple" or "By Prompt" for the window contents section.

My macro triggers OK, but doesn't always do the right thing

Macros involving mouse actions depend on everything within a window holding the same position. Equally, commands such as Paste depend on the current contents of the clipboard. Or it may just be that the macro is playing back faster than the target program can handle.

Please read the section Tips for Macros for more information.

I've defined a hotkey for an item, but nothing happens when I use it!

There are several possibilities here:

  1. The target window is either not present, or is not being recognized by PTFB. If the target window is on-screen, then open the item's properties and switch to the "Identifying the Target" page. The Help for that page has a number of useful tips, but for many cases just switch from "Strict" to "Simple" contents checking does the trick!
  2. The item is disabled - enable it to re-instate the hotkey.
  3. PTFB Pro is minimized to the system tray and in the disabled state (maybe you've chosen "Disable PTFB" from the tray icon's menu?)
  4. The hotkey you've defined has been hijacked by another program. Bring up the item's properties, go back to the Triggers page and clear the hotkey checkbox. Now tick the checkbox again and re-define the hotkey.

I've used "By Prompt" checking - the text IS in the dialog, but PTFB Pro doesn't see it?

PTFB Pro can't necessarily "see" the same text you can. If the target window is simply drawing text on the screen, or uses non-standard Windows controls, then PTFB Pro won't be able to read it. You'll need to pick text that PTFB Pro can see (check the Info page of your target's properties for a list) or choose a different checking method.

I've password-protected PTFB Pro, but I've forgotten the password

The password is stored in the registry. If you remove the appropriate registry entry, you'll clear the password and regain access to PTFB Pro. The usual caveat applies - do not touch the registry unless you have prior experience of registry editing. If you want to play it safe, email support@ptfbpro.com instead.

For those who are comfortable with registry editing, proceed to the following key:

HKEY_CURRENT_USER/Software/TLHouse/PTFBPro/Options

...and delete the value named "Password".

PTFB Pro is too slow / takes too much cpu time

If PTFB Pro is taking too long to react to a target:

If PTFB Pro is taking too much CPU time, there are several things to try:

PTFB Pro is seeing the target, but is failing to take appropriate action

You've verified that PTFB Pro is seeing the target by using a five second delay and watching for a red border around PTFB Pro's tray icon, but the actual macro/press isn't working...

Automatic workstation unlocking isn't working

Every time my computer starts up, PTFB Pro's window is open and I have to press Start Watching

The most likely explanation is that PTFB Pro is being asked to launch more than once. If PTFB is running in the tray and it is launched again, it opens up the main window and you must press Start Watching to close it. This is by design.

To check for multiple startups, do the following:

  1. Type MSCONFIG into the Run... box off the Start Menu
  2. Switch to the Startup tab
  3. Scroll through the list looking for entries relating to PTFB Pro. You should see exactly one entry for "PTFBStart" in the Run key of the registry. If you see any other entries, like a shortcut in the Startup folder off the Start Menu, then you've found the culprit!

When I try to record a macro, PTFB Pro seems to hang

If your computer is running Windows XP or Windows 2000, this could be because of a conflict with mouse drivers (or drivers for another device, such as a touchpad or trackball).

The first thing to remember is that if this happens you can usually abort the recording by holding down CTRL and tapping the Escape (Esc) key.

To fix the problem, you have two options:

1) Change PTFB Pro's recording/playback method

A new recording/playback method was developed for Microsoft's new operating system, Windows Vista. This method can also be used on Windows 2000 and Windows XP, but it does involve a small registry tweak. If you're not comfortable editing the registry, this is probably not for you. And even if your are a wiz with RegEdit, always remember that editing the registry must be done very carefully, as mistakes can damage your Windows installation. Sole responsibility lies with you!

Warnings aside, if you want to try this, here's how:

  1. Quit PTFB Pro. You must be absolutely sure that PTFB Pro isn't running or the registry tweak will have no effect.
  2. Run RegEdit (just type RegEdit into the Run box off the Start Menu)
  3. Locate the HKEY_CURRENT_USER top-level key, and begin navigating down through the following path: HKEY_CURRENT_USER\Software\TLHouse\PTFBPro\Options
  4. With the Options key selected, you should see a variety of values, but you're looking for just one: "ForceVistaMode"
  5. Double-click on ForceVistaMode and change its value from 0 (the default) to 1
  6. Close RegEdit and re-launch PTFB Pro

If you try this but don't like it for any reason, you can easily switch back by following the above steps but setting ForceVistaMode back to 0. Also note that this is a per-account setting. It'll affect only you. If other people use the same computer under different accounts and also want to use the Vista method for macros, they'll have to log on and perform the same steps.

2) Locate the cause of the conflict and update/remove it

It's hard to provide a step by step method for troubleshooting this problem - only you know what hardware and software is installed on your computer, but the hopefully the following guide will give you some ideas.

During playback, some macros occasionally get "stuck"

Much like hangs during recording, this is usually caused by conflicting software/drivers. The steps for resolution are the same too.